package com.ssy.lingxi.order.service.im;

import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.order.model.vo.im.response.ImOrderVO;
import com.ssy.lingxi.order.model.vo.im.response.MemberImOrderListResponse;
import com.ssy.lingxi.order.model.vo.basic.response.DropdownItem;
import com.ssy.lingxi.order.model.vo.im.request.ImOrderPageVO;
import org.springframework.http.HttpHeaders;

import java.util.List;

/**
 * 订单Im通信相关接口
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-15
 */
public interface IOrderCommunicationService {
    /**
     * 获取订单类型列表
     * @param headers HttpHeader信息
     * @return 前端显示的下拉菜单
     */
    Wrapper<List<DropdownItem>> listOrderTypes(HttpHeaders headers);

    /**
     * 分页查询订单列表
     * @param headers HttpHeader信息
     * @param pageVO 接口参数
     * @return 查询结果
     */
    Wrapper<PageData<ImOrderVO>> pageOrders(HttpHeaders headers, ImOrderPageVO pageVO);
}
